<?php

class site_finder_smallprogram_columns {

    public function __construct($app) {
        $this->app = $app;
        $this->app_ectools = app::get('ectools');
    }

    var $column_control = '编辑';

    var $column_control_order = COLUMN_IN_HEAD;

    function column_control($row) {
        $returnValue = '<a target="dialog::{title:\'轮播图\', width:600, height:400}" href="index.php?app=site&ctl=admin_smallprogram_index&act=edit&p[0]=' . $row['id'] . '&finder_id=' . $_GET['_finder']['finder_id'] . '">' . app::get('site')->_('编辑') . '</a>';
        return $returnValue;
    }
}
